find the Sum of the Elements of an Array